# -*- coding: utf-8 -*-

__author__ = 'lcc@lavenliu.cn'


class PrintTable:
    def __init__(self):
        print(u'Begin print 9x9 table')
        self.print9x9()

    def print9x9(self):
        for i in range(1, 10):
            for j in range(1, i+1):
                print('{} x {} = {:<2} '.format(j, i, i * j), end='')
            print(end='\n')


if __name__ == '__main__':
    pt = PrintTable()
